﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;

namespace TestFramework
{
    public class AuthorPage
    {
        [FindsBy(How = How.CssSelector, Using = ".small-text-center.ng-binding h1")]
        private IWebElement authorName;

        public string AuthorName
        {
            get
            {
                return authorName.Text;
            }
        }
    }
}
